<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.7.3/vue.min.js"
    integrity="sha512-cH1Ej4JIqdLIap1BvDncAbRCkbl+63RW1hZqoeDjK1MfQtCHYXBkVgBoaHuvZjZRzMdtfjnsaRmzzucdmfL8zg=="
    crossorigin="anonymous" referrerpolicy="no-referrer"></script>
  <title>Document</title>
  <script src="../../font/iconfont.js"></script>
  <!-- 通过插件的方式,可以注册很多的东西,如果你想要高更多的东西,用这个东西岂不是很轻松就可以解决这样的问题的吗? -->
  <script src="../plugin/headComPlugin.js"></script>
  <style>
    .icon {
      width: 1em;
      height: 1em;
      vertical-align: -0.15em;
      fill: currentColor;
      overflow: hidden;
    }
  </style>
</head>
<body>
  <div id="app">
    {{name}}
    <Heading level="2" icon="car">
      我可以自动添加图标
    </Heading>
  </div>
  <script>
    
    const app = new Vue({
      el: '#app',
      data() {
        return {
          name: 'xjh'
        }
      }
    })
  </script>
</body>

</html>